package com.zone.gateway.common.response;

/**
 * @author: zongzi
 * @description: 网关中心响应码
 * @date: 2025/4/30
 */
public enum ResultCode {
    SUCCESS("0000", "请求成功"),
    ERROR("5000", "网关中心执行失败"),
    ;

    private final String code;
    private final String desc;

    ResultCode(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
